const Router = require('koa-router');
const { create: createGoods, list: queryGoods } = require('../services/goods');


const router = new Router({
    prefix: '/goods'
});

router.post('/', createGoods);
router.post('/list', queryGoods);

module.exports = router;
